Application design « Development « JPA Q&A





1. are hibernate applications domain driven?    stackoverflow.com

If I'm developing a hiberante application, am I also developing a DD model? My application does have a service layer ( which is in lines with the Observer pattern). Will there also ...

2. How can I "Hibernate" an application?    stackoverflow.com

Say I have a complex application that does various things, e.g. brings up a window, loads some assets, processes a virtual world, goes into OpenGL, etc. Can I hibernate it, i.e. ...

3. redundancy in design of classes ( CartItem and OrderItem) in shoppingcart application    stackoverflow.com

I am trying to design and code a basic store web application in java using jpa. When a user selects products in a ShoppingCart ,I create a list of Cartitems. The Cartitem's lifespan ...

4. Looking for application design suggestions?    forum.hibernate.org

Hello all, How would you design an application that requires a user to build/modify an object graph over a 6-12 page flow in which the changes are not persisted to the database until after the flow is completed? Using a petstore as an example: Say I put two fish in my cart. Because their id's are not generated until they are ...

5. Hibernate-powered Application design    forum.hibernate.org

Hello, Advice is sought as to the best practices of application design with Hibernate. I have classes that represent persistent objects. Classes (java files) are generated from the mappings, and the database structure is also generated from the mappings. I need toi implement certain functionality pertaining to each class/object. For example, a persisted parent contains a list of children. The Application ...

6. Hibernate application design    forum.hibernate.org

Do we have to make two POJOs in order to make Hibernate apps? If my Hibernate files is in foo.har and it has FooModel.java as the POJO, now I also have a SessionBean as the Facade to get the Hibernate Object, I have to make another FooModel.java. Is there any better architecture for Hibernate apps? Thnx in advance.

7. design issue: introduce Hibernate into our application    forum.hibernate.org

we have an exsiting application, we decided to introduce hibernate into our application. currently, there are lot of very complex query written in native SQL,we use feature such as union, native sql functions such as rank() and some OLAP functions. I know we can use createSqlQuery, this may be the easiest way to convert the current application. however,we like to take ...

8. Application design issue    forum.hibernate.org

Hello I've been using hibernate for a while now with my application. Lately i started optimizing the code and applied the structure from well known "Hibernate in Action". Now I have a thread-local session. It works very nice but I started getting "a different object with the same identifier value was already associated with the session" exceptions. I think I know ...